/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dto;

import java.io.Serializable;

/**
 *
 * @author lab
 */
public class Answer implements Serializable {

    private int id;
    private int questionId;
    private String content;
    private boolean isTrue;
    private boolean isUserChoice;

    public Answer() {
    }

    public Answer(int questionId, String content, boolean isTrue) {
        this.questionId = questionId;
        this.content = content;
        this.isTrue = isTrue;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the questionId
     */
    public int getQuestionId() {
        return questionId;
    }

    /**
     * @param questionId the questionId to set
     */
    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return the getIsTrue
     */
    public boolean getIsTrue() {
        return isTrue;
    }

    /**
     * @param getIsTrue the getIsTrue to set
     */
    public void setIsTrue(boolean isTrue) {
        this.isTrue = isTrue;
    }

    /**
     * @return the isUserChoice
     */
    public boolean getIsUserChoice() {
        return isUserChoice;
    }

    /**
     * @param isUserChoice the isUserChoice to set
     */
    public void setIsUserChoice(boolean isUserChoice) {
        this.isUserChoice = isUserChoice;
    }
}
